<template>
	<view>
		<view class="list" v-for="(item,index) in dataArr" :key="index" @tap="$emit('listDetail',item)">
			<view class="list-flex">
				<text>{{item.title}}</text>
				<i class="icon">&#xe637;</i>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			dataArr:{
				type:Array
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="less">
.list{
		padding: 30upx;
		box-sizing: border-box;
					border-bottom: 2upx solid #F9F9F9;
		.list-flex{
			display: flex;
			align-items: center;
			justify-content: space-between;
			text{
				font-size: 28upx;
				flex: 1;
			}
		}
	}
	.icon {
			color: #999;
			line-height: 28upx;
			font-size: 24upx;
		}
</style>
